]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Only handle DnD when mapped
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 24 Jun 2020 17:56:32 +0000 (14:56 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 20 Jul 2020 16:13:20 +0000 (16:13 +0000)
commit16a18f2ae758dfc42769bbe13fd2e24786148425
treefd14dace2cd2259eb63621a3e5766e91e5d8b508
parent704e08dc08f69351191cc1f0d8abc75e06525bea
appDisplay: Only handle DnD when mapped

Now that the DnD code is shared between AppDisplay and
FolderView, we hit an unexpected problem: FolderView is
handling drag events even when the folder dialog is hidden.
As a side effect, this spams the journal with warnings.

Only handle drag events when mapped. On unmap, disable
the view's drag monitor, and disconnect from all drag
events.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1284
js/ui/appDisplay.js